#ifndef __COMMANDLIST_H__
#define __COMMANDLIST_H__

#define TEST_MSG		0x80
#define RESPONSE_MSG 	0x81
#define MSG_LEN			(4*1024)

//command list
enum command_ID
{
	tat_have_error = 0,
	switch_onoff_GSM = 1,
	switch_onoff_backlight = 2,
	switch_onoff_vibrator = 3,
	send_AT_command_to_module = 4,
	change_software_flag = 5,
	store_retrieve_barcode = 6,
	store_retrieve_test_result = 7,
	check_alert_test_result = 8,
	Pcf50606_status = 9,
	Audio_codec_status = 0xa,
	ADV7171_status = 0xb,
	Keypad_LED = 0xc,
	Audio_default_value =0xd,
	Software_version = 0xe,
	Doc_status = 0xf,	
	adc_table = 0x10,
	phase_version = 0x11,
	pass_word = 0x12,
	panic_info = 0x13,
	bluetooth_status = 0x14,
	camera_status = 0x15,
//	poll_ready = 0xa,

	// added by zxh
       Read_ADC_Value = 0x16,
       Set_Charge_Mode = 0x17,
       Check_Charge_Status = 0x18,
       RW_RTC_Value = 0x19,
       Read_Temperature_Value = 0x1a,
       Memory_test = 0x1b,
       Debug_info = 0x1c,
       BT_MAC_Addr = 0x1d,
       reverse_table = 0x1e,
       product_sn = 0x1f,
       board_sn = 0x20,
       hw_ver = 0x21,
       station_flag = 0x22,
       gpio_state_get = 0x23,
       // added by zxh end
	command_max
};

struct command_data_struct
{
	enum command_ID	Command;		//Command
	unsigned short int		Para;			//command Parameters
	unsigned char * 		Data_Ptr;		//pointer to command data
	int					Data_Len;		//length of command data
};

#endif //__COMMANDLIST_H__
